summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlat9nq <22451773+lat9nq@users.noreply.github.com>2023-06-19 22:41:15 +0200
committerlat9nq <22451773+lat9nq@users.noreply.github.com>2023-07-21 16:56:55 +0200
commit3a7705e7744305bc788b948e9893b0b504a662df (patch)
treed0e050fc67d568c96ea2791d9219ea6b7a690e86
parentandroid-config: Update enum labels (diff)
downloadyuzu-3a7705e7744305bc788b948e9893b0b504a662df.tar
yuzu-3a7705e7744305bc788b948e9893b0b504a662df.tar.gz
yuzu-3a7705e7744305bc788b948e9893b0b504a662df.tar.bz2
yuzu-3a7705e7744305bc788b948e9893b0b504a662df.tar.lz
yuzu-3a7705e7744305bc788b948e9893b0b504a662df.tar.xz
yuzu-3a7705e7744305bc788b948e9893b0b504a662df.tar.zst
yuzu-3a7705e7744305bc788b948e9893b0b504a662df.zip
-rw-r--r--src/common/settings.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/common/settings.h b/src/common/settings.h
index 35fa4cf3d..c9fe6f045 100644
--- a/src/common/settings.h
+++ b/src/common/settings.h
@@ -143,6 +143,10 @@ struct Values {
SwitchableSetting<bool> use_multi_core{linkage, true, "use_multi_core", Category::Core};
SwitchableSetting<bool> use_unsafe_extended_memory_layout{
linkage, false, "use_unsafe_extended_memory_layout", Category::Core};
+ SwitchableSetting<bool> use_speed_limit{linkage, true, "use_speed_limit",
+ Category::Core, false, true};
+ SwitchableSetting<u16, true> speed_limit{linkage, 100, 0, 9999, "speed_limit",
+ Category::Core, true, true};
// Cpu
SwitchableSetting<CpuAccuracy, true> cpu_accuracy{linkage, CpuAccuracy::Auto,
@@ -196,10 +200,6 @@ struct Values {
Category::Renderer};
SwitchableSetting<bool> use_asynchronous_gpu_emulation{
linkage, true, "use_asynchronous_gpu_emulation", Category::Renderer};
- SwitchableSetting<bool> use_speed_limit{linkage, true, "use_speed_limit", Category::Renderer,
- false, true};
- SwitchableSetting<u16, true> speed_limit{
- linkage, 100, 0, 9999, "speed_limit", Category::Renderer, true, true};
SwitchableSetting<AstcDecodeMode, true> accelerate_astc{linkage,
AstcDecodeMode::Cpu,
AstcDecodeMode::Cpu,